package com.zygh.lz.entity.duty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author lee
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "duty_post")
@ApiModel(value = "DutyPost对象",description = "勤务岗位类别")
public class DutyPost implements Serializable {
    @ApiModelProperty("主键id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("岗位类别编号")
    @TableField(value = "post_code")
    private Integer postCode;

    @ApiModelProperty("类别名称")
    @TableField(value = "post_name")
    private String postName;

    @ApiModelProperty("最后修改时间")
    @TableField(value = "last_time")
    private String lastTime;

    /**
     * 每次配置警力数
     */
    @ApiModelProperty("每次配置警力数")
    private String perPolice;
    /**
     * 勤务模式
     */
    @ApiModelProperty("勤务模式")
    private String postMode;
    /**
     * 管辖区域
     */
    @ApiModelProperty("管辖区域")
    private String area;
    /**
     * 地理位置标注
     */
    @ApiModelProperty("地理位置标注")
    private String mapMark;
    /**
     * 高峰岗位
     */
    @ApiModelProperty("高峰岗位")
    private String post;
    /**
     * 所属部门
     */
    @ApiModelProperty("所属部门")
    private String dept;
    /**
     * 围栏限制
     */
    @ApiModelProperty("围栏限制")
    private String areaLimit;

    @ApiModelProperty("岗位名称")
    private String name;
    /**
     * 执勤人员信息
     */
    @ApiModelProperty("执勤人员信息")
    private String people;

    @ApiModelProperty("排序")
    private Integer orderFiled;
    @TableField(exist = false)
    private Integer pageSize = 10;

    @TableField(exist = false)
    private Integer pageNum = 1;
    @TableField(exist = false)
    private List<Integer> modeCodes;
}
